package cn.common.exceptions;

/**
 * Copyright
 *
 * @Author WuHuang
 * @Date 2022/12/21
 */


public class BasicRetryException extends TRetailRuntimeException {
    public BasicRetryException() {
    }

    public BasicRetryException(ErrorCode errorCode) {
        super(errorCode);
    }

    public BasicRetryException(TRetailRuntimeException rpcResultException) {
        super(rpcResultException.getErrorCode());
    }

    public BasicRetryException(String detailedMessage) {
        super(FailErrorCode.build(detailedMessage));
    }

    public BasicRetryException(Throwable t) {
        super(t);
    }

    public BasicRetryException(ErrorCode errorCode, String detailedMessage) {
        super(errorCode, detailedMessage);
    }

    public BasicRetryException(ErrorCode errorCode, String detailedMessage, Throwable t) {
        super(errorCode, detailedMessage, t);
    }

    public BasicRetryException(ErrorCode errorCode, Throwable t) {
        super(errorCode, t);
    }

    public BasicRetryException(String code, String msg) {
        super(code, msg);
    }
}

